package cn.edu.cdu.group4nb.mapper;

import cn.edu.cdu.group4nb.po.BaseSalary;
import cn.edu.cdu.group4nb.po.BaseSalaryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseSalaryMapper {
    int countByExample(BaseSalaryExample example);

    int deleteByExample(BaseSalaryExample example);

    int deleteByPrimaryKey(Integer salaryId);

    int insert(BaseSalary record);

    int insertSelective(BaseSalary record);

    List<BaseSalary> selectByExample(BaseSalaryExample example);

    BaseSalary selectByPrimaryKey(Integer salaryId);

    int updateByExampleSelective(@Param("record") BaseSalary record, @Param("example") BaseSalaryExample example);

    int updateByExample(@Param("record") BaseSalary record, @Param("example") BaseSalaryExample example);

    int updateByPrimaryKeySelective(BaseSalary record);

    int updateByPrimaryKey(BaseSalary record);
}